home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 524 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: linus.mitre.org!spectre!eachus
  2. From: eachus@spectre.mitre.org (Robert I. Eachus)
  3. Newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2,comp.edu,comp.lang.eiffel
  4. Subject: Re: Hungarian notation
  5. Date: 04 Jan 1996 22:28:03 GMT
  6. Organization: The Mitre Corp., Bedford, MA.
  7. Message-ID: <EACHUS.96Jan4172803@spectre.mitre.org>
  8. References: <30C40F77.53B5@swsbbs.com> <marnoldDJEvtJ.1Lx@netcom.com>
  9.     <4cc2ga$lri@navajo.gate.net>
  10. NNTP-Posting-Host: spectre.mitre.org
  11. In-reply-to: feathers@gate.net's message of 2 Jan 1996 14:53:46 -0500
  12.  
  13. In article <4cc2ga$lri@navajo.gate.net> feathers@gate.net (Michael Feathers) writes:
  14.  
  15.   > Kevin Rigotti (rigotti@hermes.dra.hmg.gb) wrote:
  16.   > : Certainly, I would be horrified if anyone here handed me Hungarianized
  17.   > : Ada for code review ... I would need considerable persuasion not to
  18.   > : 'fail' it immediately.
  19.  
  20.   > Sounds like a religous argument.
  21.  
  22.    Just sounds like.  One of the main advantages of Ada is that it
  23. lets you defer the decision on how to implement a type.  If you use
  24. Hungarian notation, the decision is forced by the first (and every
  25. subsequent) variable, constant or parameter name.  Also the
  26. information given by the Hungarian notation is at the wrong level of
  27. abstraction.
  28.  
  29.    So yes it is a software engineering reason, and it would be
  30. conceivable that on some project it would be justified.  But my
  31. initial reaction would be the same.
  32.  
  33.  
  34. --
  35.  
  36.                     Robert I. Eachus
  37.  
  38. with Standard_Disclaimer;
  39. use  Standard_Disclaimer;
  40. function Message (Text: in Clever_Ideas) return Better_Ideas is...
  41.